<?php

include_once("connexion.php");


$query = "SELECT type.type, logement.surface, ville.ville, logement.debut_baille, fin_baille, logement.id, logement.piece
		  FROM logement, type, ville 
		  WHERE type.id = logement.id_type AND ville.id = logement.id_ville 
		   ORDER BY logement.id DESC LIMIT 0 , 5";

$resultat = mysqli_query($connexion, $query);


include_once("banniere.html");

include_once("accueil.html");

include_once("footer.html");

?>